/**
 * 
 */
package com.novartis.nims.trialsubmitter;

import javax.swing.SwingWorker;

/**
 * @author SNYDEJO1
 *
 */
public class TrialSubmitterSwingWorker extends SwingWorker<Void, Void> implements TrialSubmitterController {
	
	private TrialSubmitter mTrialSubmitter;

	TrialSubmitterSwingWorker(TrialSubmitter submitter) {
		mTrialSubmitter = submitter;
	}
	
	/* (non-Javadoc)
	 * @see javax.swing.SwingWorker#doInBackground()
	 */
	@Override
	protected Void doInBackground() throws Exception {
		mTrialSubmitter.execute();
		return null;
	}

}
